<html>
<head>
    <meta charset="utf-8">
    <script type="text/javascript" src="script.js"></script>
</head>
<body>
<!--<form action="/WEBS/logindo" method="get">-->
    <!--<input type="text">-->
    <!--<input type="text">-->
    <!--<input type="submit" value="提交">-->
<!--</form>-->
<!--<div style="margin-top:50px"> &lt;!&ndash; 设置margin-top是为了查看IE全屏前后的区别 &ndash;&gt;-->
    <!--<input type="button" value="FullScreen" onclick="fullScreen()" />-->
    <!--<input type="button" value="ExitFullScreen" onclick="exitFullScreen()" />-->
<!--</div>-->
<style>
    body,html,#app{
        width: 100%;
        height: 100%;
        padding: 0px;
        margin: 0px;
    }
</style>
<script>
    function fullScreen() {
        var el = document.documentElement;
        var rfs = el.requestFullScreen || el.webkitRequestFullScreen ||
            el.mozRequestFullScreen || el.msRequestFullScreen;
        if(typeof rfs != "undefined" && rfs) {
            rfs.call(el);
        } else if(typeof window.ActiveXObject != "undefined") {
            //for IE，这里其实就是模拟了按下键盘的F11，使浏览器全屏
            var wscript = new ActiveXObject("WScript.Shell");
            if(wscript != null) {
                wscript.SendKeys("{F11}");
            }
        }
    }
    function exitFullScreen() {
        var el = document;
        var cfs = el.cancelFullScreen || el.webkitCancelFullScreen ||
            el.mozCancelFullScreen || el.exitFullScreen;
        if(typeof cfs != "undefined" && cfs) {
            cfs.call(el);
        } else if(typeof window.ActiveXObject != "undefined") {
            //for IE，这里和fullScreen相同，模拟按下F11键退出全屏
            var wscript = new ActiveXObject("WScript.Shell");
            if(wscript != null) {
                wscript.SendKeys("{F11}");
            }
        }
    }
    var data={"title":{"show":false,"left":"center","textStyle":{"color":"#fff"}},

        brush: {
            outOfBrush: {
                color: '#abc'
            },
            brushStyle: {
                borderWidth: 2,
                color: 'rgba(0,0,0,0.2)',
                borderColor: 'rgba(0,0,0,0.5)',
            },
            seriesIndex: [0, 1],
            throttleType: 'debounce',
            throttleDelay: 300,
            geoIndex: 0
        }

    ,"bmap":{"center":["110.47","32.40"],"zoom":6,"color":"red","roam":"move","mapStyle":{"styleJson":[{"featureType":"water","elementType":"all","stylers":{"color":"#071327","visibility":"on"}},{"featureType":"land","elementType":"all","stylers":{"color":"#223350","visibility":"on"}},{"featureType":"boundary","elementType":"all","stylers":{"color":"#465b6c","visibility":"on"}},{"featureType":"arterial","elementType":"all","stylers":{"visibility":"off"}},{"featureType":"highway","elementType":"all","stylers":{"visibility":"off"}},{"featureType":"label","elementType":"all","stylers":{"visibility":"off"}}]},"scaleLimit":{"min":5,"max":10}}


    ,"tooltip":{"trigger":"item"},"series":[{"coordinateSystem":"bmap","type":"lines","zlevel":0,"effect":{"show":true,"period":10,"trailLength":0,"symbol":"path://M1705.06,1318.313v-89.254l-319.9-221.799l0.073-208.063c0.521-84.662-…5.125,42.917l0.531-42.034l-134.449-92.931l12.238-241.308L1705.06,1318.313z","color":"#7fbce9","symbolSize":8},"lineStyle":{"normal":{"color":"#4cc5f7","width":0.8,"opacity":0.4,"curveness":0.2},"emphasis":{"color":"#3887be"}},"polyline":false,"data":[{"fromName":"昆明","toName":"兰州","coords":[["102.42","25.04"],["103.51","36.04"]]},{"fromName":"兰州","toName":"北京","coords":[["103.51","36.04"],["116.24","39.55"]]},{"fromName":"兰州","toName":"宁波","coords":[["103.51","36.04"],["121.33","29.52"]]},{"fromName":"黔江","toName":"兰州","coords":[["108.840","29.521"],["103.51","36.04"]]},{"fromName":"兰州","toName":"南京","coords":[["103.51","36.04"],["118.46","32.03"]]},{"fromName":"兰州","toName":"南宁","coords":[["103.51","36.04"],["108.19","22.48"]]},{"fromName":"兰州","toName":"南阳","coords":[["103.51","36.04"],["112.32","33.00"]]},{"fromName":"深圳","toName":"兰州","coords":[["114.07","22.33"],["103.51","36.04"]]},{"fromName":"福州","toName":"兰州","coords":[["119.18","26.05"],["103.51","36.04"]]},{"fromName":"兰州","toName":"南通","coords":[["103.51","36.04"],["120.51","32.01"]]},{"fromName":"温州","toName":"兰州","coords":[["120.39","28.01"],["103.51","36.04"]]},{"fromName":"青岛","toName":"兰州","coords":[["120.18","36.03"],["103.51","36.04"]]},{"fromName":"兰州","toName":"乌鲁木齐","coords":[["103.51","36.04"],["87.36 ","43.45"]]},{"fromName":"长春","toName":"兰州","coords":[["125.19","43.54"],["103.51","36.04"]]},{"fromName":"十堰","toName":"兰州","coords":[["110.47","32.40"],["103.51","36.04"]]},{"fromName":"兰州","toName":"泸州","coords":[["103.51","36.04"],["105.24","28.54"]]},{"fromName":"兰州","toName":"十堰","coords":[["103.51","36.04"],["110.47","32.40"]]},{"fromName":"兰州","toName":"张家界","coords":[["103.51","36.04"],["110.29","29.08"]]},{"fromName":"武汉","toName":"兰州","coords":[["114.17","30.35"],["103.51","36.04"]]},{"fromName":"丽江","toName":"兰州","coords":[["100.14","26.52"],["103.51","36.04"]]},{"fromName":"成都","toName":"兰州","coords":[["104.04","30.40"],["103.51","36.04"]]},{"fromName":"泉州","toName":"兰州","coords":[["118.36","24.56"],["103.51","36.04"]]},{"fromName":"兰州","toName":"绵阳","coords":[["103.51","36.04"],["104.42","31.30"]]},{"fromName":"兰州","toName":"敦煌","coords":[["103.51","36.04"],["94.41 ","40.08"]]},{"fromName":"西关","toName":"兰州","coords":[["115.810","32.904"],["103.51","36.04"]]},{"fromName":"兰州","toName":"大连","coords":[["103.51","36.04"],["121.36","38.55"]]},{"fromName":"兰州","toName":"大理","coords":[["103.51","36.04"],["100.13","25.34"]]},{"fromName":"敦煌","toName":"兰州","coords":[["94.41 ","40.08"],["103.51","36.04"]]},{"fromName":"兰州","toName":"呼和浩特","coords":[["103.51","36.04"],["111.41","40.48"]]},{"fromName":"兰州","toName":"杭州","coords":[["103.51","36.04"],["120.10","30.16"]]},{"fromName":"兰州","toName":"北京","coords":[["103.51","36.04"],["116.24","39.55"]]},{"fromName":"兰州","toName":"合肥","coords":[["103.51","36.04"],["117.17","31.52"]]},{"fromName":"兰州","toName":"海口","coords":[["103.51","36.04"],["110.20","20.02"]]},{"fromName":"重庆","toName":"兰州","coords":[["106.33","29.35"],["103.51","36.04"]]},{"fromName":"兰州","toName":"西安","coords":[["103.51","36.04"],["108.57","34.17"]]},{"fromName":"铜仁","toName":"兰州","coords":[["109.12","27.43"],["103.51","36.04"]]},{"fromName":"兰州","toName":"厦门","coords":[["103.51","36.04"],["118.06","24.27"]]},{"fromName":"南通","toName":"兰州","coords":[["120.51","32.01"],["103.51","36.04"]]},{"fromName":"兰州","toName":"温州","coords":[["103.51","36.04"],["120.39","28.01"]]},{"fromName":"兰州","toName":"无锡","coords":[["103.51","36.04"],["120.18","31.34"]]},{"fromName":"兰州","toName":"武汉","coords":[["103.51","36.04"],["114.17","30.35"]]},{"fromName":"呼和浩特","toName":"兰州","coords":[["111.41","40.48"],["103.51","36.04"]]},{"fromName":"金昌","toName":"兰州","coords":[["102.10","38.28"],["103.51","36.04"]]},{"fromName":"太原","toName":"兰州","coords":[["112.33","37.54"],["103.51","36.04"]]},{"fromName":"上海","toName":"兰州","coords":[["121.29","31.14"],["103.51","36.04"]]},{"fromName":"兰州","toName":"宜昌","coords":[["103.51","36.04"],["111.17","30.42"]]},{"fromName":"沈阳","toName":"兰州","coords":[["123.25","41.48"],["103.51","36.04"]]},{"fromName":"绵阳","toName":"兰州","coords":[["104.42","31.30"],["103.51","36.04"]]},{"fromName":"石家庄","toName":"兰州","coords":[["114.30","38.02"],["103.51","36.04"]]},{"fromName":"兰州","toName":"福州","coords":[["103.51","36.04"],["119.18","26.05"]]},{"fromName":"珠海","toName":"兰州","coords":[["113.34","22.17"],["103.51","36.04"]]},{"fromName":"吕梁","toName":"兰州","coords":[["111.151571","37.69155"],["103.51","36.04"]]},{"fromName":"张掖","toName":"兰州","coords":[["100.26","38.56"],["103.51","36.04"]]},{"fromName":"天津","toName":"兰州","coords":[["117.12","39.02"],["103.51","36.04"]]},{"fromName":"包头","toName":"兰州","coords":[["109.49","40.39"],["103.51","36.04"]]},{"fromName":"毕节","toName":"兰州","coords":[["105.18","27.18"],["103.51","36.04"]]},{"fromName":"银川","toName":"兰州","coords":[["106.16","38.27"],["103.51","36.04"]]},{"fromName":"兰州","toName":"毕节","coords":[["103.51","36.04"],["105.18","27.18"]]},{"fromName":"揭阳","toName":"兰州","coords":[["116.37","23.55"],["103.51","36.04"]]},{"fromName":"长沙","toName":"兰州","coords":[["112.59","28.12"],["103.51","36.04"]]},{"fromName":"贵阳","toName":"兰州","coords":[["106.42","26.35"],["103.51","36.04"]]},{"fromName":"兰州","toName":"嘉峪关","coords":[["103.51","36.04"],["98.14 ","39.48"]]},{"fromName":"厦门","toName":"兰州","coords":[["118.06","24.27"],["103.51","36.04"]]},{"fromName":"兰州","toName":"金昌","coords":[["103.51","36.04"],["102.10","38.28"]]},{"fromName":"杭州","toName":"兰州","coords":[["120.10","30.16"],["103.51","36.04"]]},{"fromName":"兰州","toName":"泉州","coords":[["103.51","36.04"],["118.36","24.56"]]},{"fromName":"庆阳","toName":"兰州","coords":[["107.651","35.72"],["103.51","36.04"]]},{"fromName":"张家界","toName":"兰州","coords":[["110.29","29.08"],["103.51","36.04"]]},{"fromName":"兰州","toName":"张掖","coords":[["103.51","36.04"],["100.26","38.56"]]},{"fromName":"兰州","toName":"广州","coords":[["103.51","36.04"],["113.14","23.08"]]},{"fromName":"乌兰浩特","toName":"武汉","coords":[["122.03","46.03"],["114.17","30.35"]]},{"fromName":"兰州","toName":"长春","coords":[["103.51","36.04"],["125.19","43.54"]]},{"fromName":"兰州","toName":"郑州","coords":[["103.51","36.04"],["113.40","34.46"]]},{"fromName":"合肥","toName":"兰州","coords":[["117.17","31.52"],["103.51","36.04"]]},{"fromName":"兰州","toName":"庆阳","coords":[["103.51","36.04"],["107.651","35.72"]]},{"fromName":"南昌","toName":"兰州","coords":[["115.55","28.40"],["103.51","36.04"]]},{"fromName":"兰州","toName":"银川","coords":[["103.51","36.04"],["106.16","38.27"]]},{"fromName":"济南","toName":"兰州","coords":[["117.00","36.40"],["103.51","36.04"]]},{"fromName":"兰州","toName":"重庆","coords":[["103.51","36.04"],["106.33","29.35"]]},{"fromName":"无锡","toName":"兰州","coords":[["120.18","31.34"],["103.51","36.04"]]},{"fromName":"广州","toName":"兰州","coords":[["113.14","23.08"],["103.51","36.04"]]},{"fromName":"乌鲁木齐","toName":"兰州","coords":[["87.36 ","43.45"],["103.51","36.04"]]},{"fromName":"兰州","toName":"成都","coords":[["103.51","36.04"],["104.04","30.40"]]},{"fromName":"兰州","toName":"长沙","coords":[["103.51","36.04"],["112.59","28.12"]]},{"fromName":"兴义","toName":"兰州","coords":[["104.53","25.05"],["103.51","36.04"]]},{"fromName":"南京","toName":"兰州","coords":[["118.46","32.03"],["103.51","36.04"]]},{"fromName":"兰州","toName":"遵义","coords":[["103.51","36.04"],["106.55","27.42"]]},{"fromName":"遵义","toName":"兰州","coords":[["106.55","27.42"],["103.51","36.04"]]},{"fromName":"宜昌","toName":"兰州","coords":[["111.17","30.42"],["103.51","36.04"]]},{"fromName":"兰州","toName":"哈尔滨","coords":[["103.51","36.04"],["126.36","45.44"]]},{"fromName":"海口","toName":"兰州","coords":[["110.20","20.02"],["103.51","36.04"]]},{"fromName":"兰州","toName":"珠海","coords":[["103.51","36.04"],["113.34","22.17"]]},{"fromName":"宁波","toName":"兰州","coords":[["121.33","29.52"],["103.51","36.04"]]},{"fromName":"三亚","toName":"兰州","coords":[["109.31","18.14"],["103.51","36.04"]]},{"fromName":"桂林","toName":"兰州","coords":[["110.17","25.17"],["103.51","36.04"]]},{"fromName":"兰州","toName":"拉萨","coords":[["103.51","36.04"],["91.08 ","29.39"]]},{"fromName":"汉中","toName":"兰州","coords":[["107.01","33.04"],["103.51","36.04"]]},{"fromName":"兰州","toName":"天津","coords":[["103.51","36.04"],["117.12","39.02"]]},{"fromName":"兰州","toName":"吕梁","coords":[["103.51","36.04"],["111.151571","37.69155"]]},{"fromName":"泸州","toName":"兰州","coords":[["105.24","28.54"],["103.51","36.04"]]},{"fromName":"兰州","toName":"济南","coords":[["103.51","36.04"],["117.00","36.40"]]},{"fromName":"兰州","toName":"丽江","coords":[["103.51","36.04"],["100.14","26.52"]]},{"fromName":"南宁","toName":"兰州","coords":[["108.19","22.48"],["103.51","36.04"]]},{"fromName":"大连","toName":"兰州","coords":[["121.36","38.55"],["103.51","36.04"]]},{"fromName":"兰州","toName":"桂林","coords":[["103.51","36.04"],["110.17","25.17"]]},{"fromName":"兰州","toName":"贵阳","coords":[["103.51","36.04"],["106.42","26.35"]]},{"fromName":"兰州","toName":"太原","coords":[["103.51","36.04"],["112.33","37.54"]]},{"fromName":"哈尔滨","toName":"兰州","coords":[["126.36","45.44"],["103.51","36.04"]]},{"fromName":"嘉峪关","toName":"兰州","coords":[["98.14 ","39.48"],["103.51","36.04"]]},{"fromName":"兰州","toName":"石家庄","coords":[["103.51","36.04"],["114.30","38.02"]]},{"fromName":"兰州","toName":"昆明","coords":[["103.51","36.04"],["102.42","25.04"]]},{"fromName":"兰州","toName":"凯里","coords":[["103.51","36.04"],["107.58","26.35"]]},{"fromName":"兰州","toName":"南昌","coords":[["103.51","36.04"],["115.55","28.40"]]},{"fromName":"拉萨","toName":"兰州","coords":[["91.08 ","29.39"],["103.51","36.04"]]},{"fromName":"西安","toName":"兰州","coords":[["108.57","34.17"],["103.51","36.04"]]},{"fromName":"兰州","toName":"西关","coords":[["103.51","36.04"],["115.810","32.904"]]},{"fromName":"兰州","toName":"上海","coords":[["103.51","36.04"],["121.29","31.14"]]},{"fromName":"兰州","toName":"沈阳","coords":[["103.51","36.04"],["123.25","41.48"]]},{"fromName":"兰州","toName":"青岛","coords":[["103.51","36.04"],["120.18","36.03"]]},{"fromName":"兰州","toName":"深圳","coords":[["103.51","36.04"],["114.07","22.33"]]},{"fromName":"兰州","toName":"包头","coords":[["103.51","36.04"],["109.49","40.39"]]},{"fromName":"郑州","toName":"兰州","coords":[["113.40","34.46"],["103.51","36.04"]]},{"fromName":"兰州","toName":"揭阳","coords":[["103.51","36.04"],["116.37","23.55"]]},{"fromName":"兰州","toName":"三亚","coords":[["103.51","36.04"],["109.31","18.14"]]},{"fromName":"凯里","toName":"兰州","coords":[["107.58","26.35"],["103.51","36.04"]]},{"fromName":"西关","toName":"敦煌","coords":[["115.810","32.904"],["94.41 ","40.08"]]},{"fromName":"成都","toName":"敦煌","coords":[["104.04","30.40"],["94.41 ","40.08"]]},{"fromName":"兰州","toName":"敦煌","coords":[["103.51","36.04"],["94.41 ","40.08"]]},{"fromName":"敦煌","toName":"兰州","coords":[["94.41 ","40.08"],["103.51","36.04"]]},{"fromName":"敦煌","toName":"成都","coords":[["94.41 ","40.08"],["104.04","30.40"]]},{"fromName":"花土沟","toName":"敦煌","coords":[["90.864","38.258"],["94.41 ","40.08"]]},{"fromName":"敦煌","toName":"北京","coords":[["94.41 ","40.08"],["116.24","39.55"]]},{"fromName":"敦煌","toName":"花土沟","coords":[["94.41 ","40.08"],["90.864","38.258"]]},{"fromName":"敦煌","toName":"西关","coords":[["94.41 ","40.08"],["115.810","32.904"]]},{"fromName":"金昌","toName":"成都","coords":[["102.10","38.28"],["104.04","30.40"]]},{"fromName":"金昌","toName":"兰州","coords":[["102.10","38.28"],["103.51","36.04"]]},{"fromName":"兰州","toName":"金昌","coords":[["103.51","36.04"],["102.10","38.28"]]},{"fromName":"金昌","toName":"西关","coords":[["102.10","38.28"],["115.810","32.904"]]},{"fromName":"西关","toName":"金昌","coords":[["115.810","32.904"],["102.10","38.28"]]},{"fromName":"成都","toName":"金昌","coords":[["104.04","30.40"],["102.10","38.28"]]},{"fromName":"上海","toName":"嘉峪关","coords":[["121.29","31.14"],["98.14 ","39.48"]]},{"fromName":"嘉峪关","toName":"北京","coords":[["98.14 ","39.48"],["116.24","39.55"]]},{"fromName":"广州","toName":"嘉峪关","coords":[["113.14","23.08"],["98.14 ","39.48"]]},{"fromName":"丽江","toName":"宁波","coords":[["100.14","26.52"],["121.33","29.52"]]},{"fromName":"重庆","toName":"嘉峪关","coords":[["106.33","29.35"],["98.14 ","39.48"]]},{"fromName":"丽江","toName":"南京","coords":[["100.14","26.52"],["118.46","32.03"]]},{"fromName":"丽江","toName":"南宁","coords":[["100.14","26.52"],["108.19","22.48"]]},{"fromName":"兰州","toName":"嘉峪关","coords":[["103.51","36.04"],["98.14 ","39.48"]]},{"fromName":"嘉峪关","toName":"广州","coords":[["98.14 ","39.48"],["113.14","23.08"]]},{"fromName":"嘉峪关","toName":"成都","coords":[["98.14 ","39.48"],["104.04","30.40"]]},{"fromName":"嘉峪关","toName":"兰州","coords":[["98.14 ","39.48"],["103.51","36.04"]]},{"fromName":"嘉峪关","toName":"上海","coords":[["98.14 ","39.48"],["121.29","31.14"]]},{"fromName":"嘉峪关","toName":"重庆","coords":[["98.14 ","39.48"],["106.33","29.35"]]},{"fromName":"嘉峪关","toName":"西关","coords":[["98.14 ","39.48"],["115.810","32.904"]]},{"fromName":"西关","toName":"嘉峪关","coords":[["115.810","32.904"],["98.14 ","39.48"]]},{"fromName":"三亚","toName":"嘉峪关","coords":[["109.31","18.14"],["98.14 ","39.48"]]},{"fromName":"成都","toName":"嘉峪关","coords":[["104.04","30.40"],["98.14 ","39.48"]]},{"fromName":"张掖","toName":"成都","coords":[["100.26","38.56"],["104.04","30.40"]]},{"fromName":"张掖","toName":"兰州","coords":[["100.26","38.56"],["103.51","36.04"]]},{"fromName":"张掖","toName":"西关","coords":[["100.26","38.56"],["115.810","32.904"]]},{"fromName":"北海","toName":"遵义","coords":[["109.07","21.28"],["106.55","27.42"]]},{"fromName":"兰州","toName":"张掖","coords":[["103.51","36.04"],["100.26","38.56"]]},{"fromName":"西关","toName":"张掖","coords":[["115.810","32.904"],["100.26","38.56"]]},{"fromName":"成都","toName":"张掖","coords":[["104.04","30.40"],["100.26","38.56"]]},{"fromName":"庆阳","toName":"西关","coords":[["107.651","35.72"],["115.810","32.904"]]},{"fromName":"庆阳","toName":"广州","coords":[["107.651","35.72"],["113.14","23.08"]]},{"fromName":"广州","toName":"庆阳","coords":[["113.14","23.08"],["107.651","35.72"]]},{"fromName":"庆阳","toName":"兰州","coords":[["107.651","35.72"],["103.51","36.04"]]},{"fromName":"西关","toName":"庆阳","coords":[["115.810","32.904"],["107.651","35.72"]]},{"fromName":"兰州","toName":"庆阳","coords":[["103.51","36.04"],["107.651","35.72"]]},{"fromName":"庆阳","toName":"北京","coords":[["107.651","35.72"],["116.24","39.55"]]},{"fromName":"黔江","toName":"南宁","coords":[["108.840","29.521"],["108.19","22.48"]]},{"fromName":"黔江","toName":"南京","coords":[["108.840","29.521"],["118.46","32.03"]]}]},{"type":"scatter","coordinateSystem":"bmap","data":[{"name":"兰州","typeScatter":1,"code":"LHW","value":["103.51","36.04",100],"label":{"normal":{"show":true,"position":"right","formatter":"兰州","textStyle":{"color":"white","fontSize":12},"itemStyle":{}},"emphasis":{"show":false}},"tooltip":{"show":false}},{"name":"敦煌","typeScatter":1,"code":"DNH","value":["94.41 ","40.08",100],"label":{"normal":{"show":true,"position":"right","formatter":"敦煌","textStyle":{"color":"white","fontSize":12},"itemStyle":{}},"emphasis":{"show":false}},"tooltip":{"show":false}},{"name":"金昌","typeScatter":1,"code":"JIC","value":["102.10","38.28",100],"label":{"normal":{"show":true,"position":"right","formatter":"金昌","textStyle":{"color":"white","fontSize":12},"itemStyle":{}},"emphasis":{"show":false}},"tooltip":{"show":false}},{"name":"嘉峪关","typeScatter":1,"code":"JGN","value":["98.14 ","39.48",100],"label":{"normal":{"show":true,"position":"right","formatter":"嘉峪关","textStyle":{"color":"white","fontSize":12},"itemStyle":{}},"emphasis":{"show":false}},"tooltip":{"show":false}},{"name":"张掖","typeScatter":1,"code":"YZY","value":["100.26","38.56",100],"label":{"normal":{"show":true,"position":"right","formatter":"张掖","textStyle":{"color":"white","fontSize":12},"itemStyle":{}},"emphasis":{"show":false}},"tooltip":{"show":false}},{"name":"庆阳","typeScatter":1,"code":"IQN","value":["107.651","35.72",100],"label":{"normal":{"show":true,"position":"right","formatter":"庆阳","textStyle":{"color":"white","fontSize":12},"itemStyle":{}},"emphasis":{"show":false}},"tooltip":{"show":false}}],"zlevel":10,"symbolSize":[15,20],"symbol":"path://M786.496 161.163l-3.537-3.507C713.308 88.89 617.627 46.381 511.992 46.381c-105.507 0-201.123 42.418-270.76 111.073l-3.926 3.911c-68.646 69.668-111.074 165.237-111.074 270.775 0 105.633 42.495 201.295 111.275 270.965l3.522 3.508 270.978 271.006 271.169-271.146 3.132-3.164c68.889-69.697 111.459-165.424 111.459-271.164C897.772 326.521 855.277 230.86 786.496 161.163L786.496 161.163zM512.008 541.766c-74.545 0-134.974-60.447-134.974-134.977 0-30.806 10.283-59.152 27.614-81.856 24.663-32.299 63.574-53.151 107.359-53.151 74.55 0 134.978 60.463 134.978 135.008C646.985 481.318 586.558 541.766 512.008 541.766L512.008 541.766zM512.008 541.766","symbolOffset":[0,-8],"itemStyle":{"emphasis":{},"normal":{"color":"#d85230"}}},{"type":"scatter","coordinateSystem":"bmap","symbol":"circle","symbolSize":5,"zlevel":10,"label":{"normal":{"show":true,"position":"right","formatter":"{b}"},"emphasis":{"show":true}},"itemStyle":{"normal":{"color":"#7fbce9"}},"data":[{"name":"昆明","typeScatter":0,"value":["102.42","25.04",30],"tooltip":{"show":false}},{"name":"北京","typeScatter":0,"value":["116.24","39.55",30],"tooltip":{"show":false}},{"name":"宁波","typeScatter":0,"value":["121.33","29.52",30],"tooltip":{"show":false}},{"name":"黔江","typeScatter":0,"value":["108.840","29.521",30],"tooltip":{"show":false}},{"name":"南京","typeScatter":0,"value":["118.46","32.03",30],"tooltip":{"show":false}},{"name":"南宁","typeScatter":0,"value":["108.19","22.48",30],"tooltip":{"show":false}},{"name":"南阳","typeScatter":0,"value":["112.32","33.00",30],"tooltip":{"show":false}},{"name":"深圳","typeScatter":0,"value":["114.07","22.33",30],"tooltip":{"show":false}},{"name":"福州","typeScatter":0,"value":["119.18","26.05",30],"tooltip":{"show":false}},{"name":"南通","typeScatter":0,"value":["120.51","32.01",30],"tooltip":{"show":false}},{"name":"温州","typeScatter":0,"value":["120.39","28.01",30],"tooltip":{"show":false}},{"name":"青岛","typeScatter":0,"value":["120.18","36.03",30],"tooltip":{"show":false}},{"name":"乌鲁木齐","typeScatter":0,"value":["87.36 ","43.45",30],"tooltip":{"show":false}},{"name":"长春","typeScatter":0,"value":["125.19","43.54",30],"tooltip":{"show":false}},{"name":"十堰","typeScatter":0,"value":["110.47","32.40",30],"tooltip":{"show":false}},{"name":"泸州","typeScatter":0,"value":["105.24","28.54",30],"tooltip":{"show":false}},{"name":"张家界","typeScatter":0,"value":["110.29","29.08",30],"tooltip":{"show":false}},{"name":"武汉","typeScatter":0,"value":["114.17","30.35",30],"tooltip":{"show":false}},{"name":"丽江","typeScatter":0,"value":["100.14","26.52",30],"tooltip":{"show":false}},{"name":"成都","typeScatter":0,"value":["104.04","30.40",30],"tooltip":{"show":false}},{"name":"泉州","typeScatter":0,"value":["118.36","24.56",30],"tooltip":{"show":false}},{"name":"绵阳","typeScatter":0,"value":["104.42","31.30",30],"tooltip":{"show":false}},{"name":"西关","typeScatter":0,"value":["115.810","32.904",30],"tooltip":{"show":false}},{"name":"大连","typeScatter":0,"value":["121.36","38.55",30],"tooltip":{"show":false}},{"name":"大理","typeScatter":0,"value":["100.13","25.34",30],"tooltip":{"show":false}},{"name":"呼和浩特","typeScatter":0,"value":["111.41","40.48",30],"tooltip":{"show":false}},{"name":"杭州","typeScatter":0,"value":["120.10","30.16",30],"tooltip":{"show":false}},{"name":"合肥","typeScatter":0,"value":["117.17","31.52",30],"tooltip":{"show":false}},{"name":"海口","typeScatter":0,"value":["110.20","20.02",30],"tooltip":{"show":false}},{"name":"重庆","typeScatter":0,"value":["106.33","29.35",30],"tooltip":{"show":false}},{"name":"西安","typeScatter":0,"value":["108.57","34.17",30],"tooltip":{"show":false}},{"name":"铜仁","typeScatter":0,"value":["109.12","27.43",30],"tooltip":{"show":false}},{"name":"厦门","typeScatter":0,"value":["118.06","24.27",30],"tooltip":{"show":false}},{"name":"无锡","typeScatter":0,"value":["120.18","31.34",30],"tooltip":{"show":false}},{"name":"太原","typeScatter":0,"value":["112.33","37.54",30],"tooltip":{"show":false}},{"name":"上海","typeScatter":0,"value":["121.29","31.14",30],"tooltip":{"show":false}},{"name":"宜昌","typeScatter":0,"value":["111.17","30.42",30],"tooltip":{"show":false}},{"name":"沈阳","typeScatter":0,"value":["123.25","41.48",30],"tooltip":{"show":false}},{"name":"石家庄","typeScatter":0,"value":["114.30","38.02",30],"tooltip":{"show":false}},{"name":"珠海","typeScatter":0,"value":["113.34","22.17",30],"tooltip":{"show":false}},{"name":"吕梁","typeScatter":0,"value":["111.151571","37.69155",30],"tooltip":{"show":false}},{"name":"天津","typeScatter":0,"value":["117.12","39.02",30],"tooltip":{"show":false}},{"name":"包头","typeScatter":0,"value":["109.49","40.39",30],"tooltip":{"show":false}},{"name":"毕节","typeScatter":0,"value":["105.18","27.18",30],"tooltip":{"show":false}},{"name":"银川","typeScatter":0,"value":["106.16","38.27",30],"tooltip":{"show":false}},{"name":"揭阳","typeScatter":0,"value":["116.37","23.55",30],"tooltip":{"show":false}},{"name":"长沙","typeScatter":0,"value":["112.59","28.12",30],"tooltip":{"show":false}},{"name":"贵阳","typeScatter":0,"value":["106.42","26.35",30],"tooltip":{"show":false}},{"name":"广州","typeScatter":0,"value":["113.14","23.08",30],"tooltip":{"show":false}},{"name":"乌兰浩特","typeScatter":0,"value":["122.03","46.03",30],"tooltip":{"show":false}},{"name":"郑州","typeScatter":0,"value":["113.40","34.46",30],"tooltip":{"show":false}},{"name":"南昌","typeScatter":0,"value":["115.55","28.40",30],"tooltip":{"show":false}},{"name":"济南","typeScatter":0,"value":["117.00","36.40",30],"tooltip":{"show":false}},{"name":"兴义","typeScatter":0,"value":["104.53","25.05",30],"tooltip":{"show":false}},{"name":"遵义","typeScatter":0,"value":["106.55","27.42",30],"tooltip":{"show":false}},{"name":"哈尔滨","typeScatter":0,"value":["126.36","45.44",30],"tooltip":{"show":false}},{"name":"三亚","typeScatter":0,"value":["109.31","18.14",30],"tooltip":{"show":false}},{"name":"桂林","typeScatter":0,"value":["110.17","25.17",30],"tooltip":{"show":false}},{"name":"拉萨","typeScatter":0,"value":["91.08 ","29.39",30],"tooltip":{"show":false}},{"name":"汉中","typeScatter":0,"value":["107.01","33.04",30],"tooltip":{"show":false}},{"name":"凯里","typeScatter":0,"value":["107.58","26.35",30],"tooltip":{"show":false}},{"name":"花土沟","typeScatter":0,"value":["90.864","38.258",30],"tooltip":{"show":false}},{"name":"北海","typeScatter":0,"value":["109.07","21.28",30],"tooltip":{"show":false}}]}]};
</script>
<!--<script>-->
    <!--var arr="成都、杭州、武汉、重庆、南京、天津、苏州、西安、长沙、沈阳、青岛、郑州、大连、东莞、宁波".split("、");-->
    <!--var aee=[];-->
    <!--for(var i=0;i<arr.length;i++){-->
        <!--ab:for(var j=0;j<data.success.chinaAriLineDataList.length;j++){-->
            <!--if(data.success.chinaAriLineDataList[j].fromName==arr[i]){-->
                <!--aee.push({-->
                    <!--name:arr[i],-->
                    <!--value:[data.success.chinaAriLineDataList[j].coords.fromName[0],data.success.chinaAriLineDataList[j].coords.fromName[1],0]-->
                <!--})-->
                <!--break ab;-->
            <!--}else if(data.success.chinaAriLineDataList[j].toName==arr[i]){-->
                <!--aee.push({-->
                    <!--name:arr[i],-->
                    <!--value:[data.success.chinaAriLineDataList[j].coords.toName[0],data.success.chinaAriLineDataList[j].coords.toName[1],0]-->
                <!--})-->
                <!--break ab;-->
            <!--}-->
        <!--}-->

    <!--}-->
    <!--console.log(JSON.stringify(aee));-->
<!--</script>-->
<script type="text/javascript" src="./actual/publicJS/echarts.js"></script>
<div id="app"></div>
<script type="text/javascript" src="./actual/publicJS/bmap.js"></script>
<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=TDmhTStuIIhX3LsAf3bNZV60SZoloqdC"></script>
<script>
    mapBox=document.getElementById("app");
    myChart = echarts.init(mapBox);
    myChart.setOption(data, true);
    var map = myChart.getModel().getComponent('bmap').getBMap();
    map.enableScrollWheelZoom(); // 允许滚轮缩放
    // 百度地图API功能

    map.centerAndZoom(new BMap.Point(116.404, 39.915), 5);
    map.enableScrollWheelZoom();
    var point = new BMap.Point(116.404, 39.915);
var gzRound=function(x,y,r){
    var arr=[];
    var arr0=[];
    var arr1=[];
    for(var x0=x-r;x0<=x+r;x0+=0.01){
        var sss=Math.pow(Math.pow(r,2)-Math.pow((x0-x),2),1/2);
        sss=sss;
        arr0.push([x0,y+sss]);
        arr1.push([x0,y-sss]);
    }
    for(var i=arr1.length;i>0;i--){
        arr0.push(arr1[i-1]);
    }
    for(var i=0;i<arr0.length;i++){
        arr.push(new BMap.Point(arr0[i][0],arr0[i][1]))
    }
    return arr;
};
//var polygon = new BMap.Polygon(new gzRound(115,39,10), {strokeColor:"rgba(0,0,0,0.1)", strokeWeight:0, strokeOpacity:0.1});  //创建多边形
//    polygon.setFillColor("green");
//    map.addOverlay(polygon);   //增加多边形
//
//    var polygon = new BMap.Polygon(new gzRound(115,39,5), {strokeColor:"rgba(0,0,0,0.1)", strokeWeight:0, strokeOpacity:0.1});  //创建多边形
//    polygon.setFillColor("red");
//    map.addOverlay(polygon);   //增加多边形


    //圆
    var circle = new BMap.Circle(point,1000000,{strokeColor:"green", strokeWeight:2, strokeOpacity:0.5});
    var circle1 = new BMap.Circle(point,500000,{strokeColor:"red", strokeWeight:2, strokeOpacity:0.5});
    circle.setFillColor("green");
    circle1.setFillColor("red");
    map.addOverlay(circle);
    map.addOverlay(circle1);

    //椭圆
    function ovalPoint(centre,long,short,angle){
        var Point = new Array();
        var pLng;//这个点的经度
        var pLat;//这个点的纬度
        //下面求椭圆方程
        var a = long;
        var b = short;  //单位米
        var aPoint;
        var aPointLng;
        var A;//用于存储椭圆的长轴

        //现在要实现在纬度上找到这个相应的点 在同一纬度下距离原点b米的经度
        for(var i = 0.0000; i<parseFloat(180.0000)-centre.lng;i=parseFloat(i)+0.00001){
            var aLng = centre.lng+i;
            aPoint = new BMap.Point(aLng,centre.lat);
            if( map.getDistance(centre,aPoint).toFixed(0) == a.toFixed(0)*1000 ){//在这个纬度下寻找距离为a的点
                aPointLng=aLng;//找到这个点的经度
                break;
            }
        }
        //然后相减就得到了椭圆中的a
        A=aPointLng-centre.lng;//短轴长度 是以地理坐标系的度为单位的
        // alert("A"+A);
        //同样方法计算短轴
        var bPoint;
        var bPointLat;
        var B;          //用于存储椭圆的短轴
        for(var i = 0.0000; i<parseFloat(90.0000)-centre.lat;i=parseFloat(i)+0.00001){
            var bLat = centre.lat+i;
            bPoint = new BMap.Point(centre.lng,bLat);
            if(map.getDistance(centre,bPoint).toFixed(0) == b.toFixed(0)*1000){//在这个经度下寻找距离为b的点
                bPointLat = bLat;
                break;
            }
        }
        B=bPointLat - centre.lat;//这里得到的是以地理坐标系中的度做单位的
        //  alert("B"+B);
        //得到C
        if (A>B) {
            var C = Math.sqrt(Math.pow(A,2) - Math.pow(B,2) );
        }else{
            var C = Math.sqrt(Math.pow(B,2) - Math.pow(A,2) );
        }

        //alert("C"+C);
        if(!isNaN(B)){
            getfocue(angle,C,centre);
        }

        //得到椭圆的点
        //思路 如果我以一个斜率去画一条线与椭圆相交就可以得到两个点
        //现在开始设那条线 的 K值
        var kVar= new Array();
        for(var i = 0; i<360;i++){
            kVar.push( Math.tan( i*(2*Math.PI/360)) );
        }
        //x^2/a^2+y^2/b^2=1 => x=根号下a^2*b^2/(b^2)+a^2*k^2
        var assemble = new Array();
        var onePoint;
        var twoPoint;
        var threePoint;

        for(var i = 0; i<359;i++){//在第一象限找这个点
            if(i>=0 && i<=90){
                x= Math.sqrt( (Math.pow(A,2)*Math.pow(B,2)) / ( Math.pow(B,2)+( Math.pow(A,2)*Math.pow(kVar[i],2) )) );
                y= kVar[i]*x;
                onePoint = new BMap.Point(centre.lng + x,centre.lat+y);
                assemble.push(onePoint);
            }else if(i>=91 && i<=270){//在第二三象限找这个点
                x=(-1)* Math.sqrt( (Math.pow(A,2)*Math.pow(B,2)) / ( Math.pow(B,2)+( Math.pow(A,2)*Math.pow(kVar[i],2) )) );
                y= kVar[i]*x;
                twoPoint = new BMap.Point(centre.lng + x,centre.lat+y);
                assemble.push(twoPoint);
            }else if(i>270 && i<=359){//在第四象限找这个点
                x= Math.sqrt( (Math.pow(A,2)*Math.pow(B,2)) / ( Math.pow(B,2)+( Math.pow(A,2)*Math.pow(kVar[i],2) )) );
                y= kVar[i]*x;
                threePoint = new BMap.Point(centre.lng + x,centre.lat+y);
                assemble.push(threePoint);
            }
        }
        //计算倾斜角所用的变量
        var lng;
        var lat;
        for(var i=0 ; i<assemble.length ; i++){//可用代码 向量法旋转椭圆
            lng=assemble[i].lng-centre.lng;//与原点相差的经度
            lat=assemble[i].lat-centre.lat;//与原点相差的纬度
            var x=Math.abs( lng * Math.cos(angle));
            var y=Math.abs( lng * Math.sin(angle));
            if(i>=0&&i<90) {
                assemble[i].lng = assemble[i].lng + x;
                assemble[i].lat = assemble[i].lat + y;
            }else if(i>=90&&i<180){
                assemble[i].lng=assemble[i].lng - x;
                assemble[i].lat=assemble[i].lat - y;
            }else if(i>=180&&i<270){
                assemble[i].lng=assemble[i].lng - x;
                assemble[i].lat=assemble[i].lat - y;
            }else if(i>=270&&i<359){
                assemble[i].lng=assemble[i].lng + x;
                assemble[i].lat=assemble[i].lat + y;
            }
        }
        return assemble;
    }
    console.log(ovalPoint({lat:116,lng:29},1000,500,0.1))

</script>
</body>
</html>